# Load the default probes
Dir.glob(File.join(File.dirname(__FILE__), 'probes/*.rb')).each {|f| load f }

# Load the probes in sysconfdir
Dir.glob("#{$sysconfdir}/probes/*.rb").each {|f| load f }

Dir.glob(File.join(File.dirname(__FILE__), 'probes/*.rb')).each {|f| load f }
# Load the custom probes
if $config['files'] and $config['files']['probepath']
  Dir.glob("#{$config['files']['probepath']}/*.rb").each {|f| load f }
end

module Videre
    module Probe
      attr_accessor :host, :ip
    end
end
